package org.dizena.quartz.adapter.job;

import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;

import java.util.Map;

@Slf4j
public class GroupJob implements Job {
    @Override
    public void execute(JobExecutionContext context) {
        Map jobData = context.getJobDetail().getJobDataMap().getWrappedMap();
        Map triggerData = context.getTrigger().getJobDataMap().getWrappedMap();
        log.info("test job data:{}", jobData);
        log.info("test trigger data:{}", triggerData);

    }
}
